Leadtools.Jpip.Client Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method
See Also 
Leadtools.Jpip.Client Namespace > JpipClient Class > BeginGetJpipResponse Method : BeginGetJpipResponse(String,RequestFields,Byte[],AddDatabinCallback,AsyncCallback,Object) Method



path
A String representing the resource to locate at the server. This is usually the image name to locate.
requestFields
A RequestFields object which contains the JPIP fields.
postedData
An array of Byte that contains data to send in the request body.
addDatabinCallback
A delegate of type __Delegates.AddDatabinCallback to be called whenever a new data-bin is read.
callBack
A Delegate to call when this method is completed and a response is received from the server.
state
An Object that contains state information for this request.
Makes an asynchronous request to a JPIP server.

Syntax

Visual Basic (Declaration) 
Public Overloads Function BeginGetJpipResponse( _
   ByVal path As String, _
   ByVal requestFields As RequestFields, _
   ByVal postedData() As Byte, _
   ByVal addDatabinCallback As AddDatabinCallback, _
   ByVal callBack As AsyncCallback, _
   ByVal state As Object _
) As IAsyncResult
Visual Basic (Usage)Copy Code
Dim instance As JpipClient
Dim path As String
Dim requestFields As RequestFields
Dim postedData() As Byte
Dim addDatabinCallback As AddDatabinCallback
Dim callBack As AsyncCallback
Dim state As Object
Dim value As IAsyncResult
 
value = instance.BeginGetJpipResponse(path, requestFields, postedData, addDatabinCallback, callBack, state)
C# 
public IAsyncResult BeginGetJpipResponse( 
   string path,
   RequestFields requestFields,
   byte[] postedData,
   AddDatabinCallback addDatabinCallback,
   AsyncCallback callBack,
   object state
)
C++/CLI 
public:
IAsyncResult^ BeginGetJpipResponse( 
   String^ path,
   RequestFields requestFields,
   array<byte>^ postedData,
   AddDatabinCallback^ addDatabinCallback,
   AsyncCallback^ callBack,
   Object^ state
) 

Parameters

path
A String representing the resource to locate at the server. This is usually the image name to locate.
requestFields
A RequestFields object which contains the JPIP fields.
postedData
An array of Byte that contains data to send in the request body.
addDatabinCallback
A delegate of type __Delegates.AddDatabinCallback to be called whenever a new data-bin is read.
callBack
A Delegate to call when this method is completed and a response is received from the server.
state
An Object that contains state information for this request.

Return Value

An IAsyncResult that references the asynchronous request.

Remarks

To use this method, create a callback method that implements the AsyncCallback delegate and pass its name to the BeginGetJpipResponse method.

The callback method should invoke the EndGetJpipResponse method.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Jpip.Clientrequires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features